/*
    SUSAN® - Sole of Unix Save ANything

      Copyright (C) 2011-2016 Skyatlas Co. LTD

   

   
*/

#ifndef BAREOS_SRC_DIRD_DATE_TIME_BITFILED_H_
#define BAREOS_SRC_DIRD_DATE_TIME_BITFILED_H_

#include "lib/bits.h"

namespace directordaemon {

struct DateTimeBitfield {
  char hour[NbytesForBits(24 + 1)]{0};
  char mday[NbytesForBits(31 + 1)]{0};
  char month[NbytesForBits(12 + 1)]{0};
  char wday[NbytesForBits(7 + 1)]{0};
  char wom[NbytesForBits(5 + 1)]{0};
  char woy[NbytesForBits(54 + 1)]{0};
  bool last_week_of_month{false};
};

}  // namespace directordaemon

#endif  // BAREOS_SRC_DIRD_DATE_TIME_BITFILED_H_
